<template>
<div class="category">
<!--  向使用 hello 具名插槽提供对应数据-->
  <slot :a="1" :b="2" name="hello"></slot>
  <hr>
  <slot :a="3" :b="4" name="class"></slot>
</div>
</template>

<script setup lang="ts">

</script>

<script lang="ts">
export default {
  name: ``
}
</script>

<style scoped>
.category {
  background: yellow;
  height: 80%;
  width: 200px;
}
</style>